package com.linkoog.devtools.intellij.ui.file_browse;

import com.intellij.openapi.Disposable;
import com.intellij.openapi.fileChooser.FileChooserDescriptor;
import com.linkoog.devtools.intellij.ui.button.TextFieldWithBrowseButton;
import org.jetbrains.annotations.Nullable;

import javax.swing.*;
import java.awt.event.ActionListener;

public class NoPathCompletion extends TextFieldWithBrowseButton {
    public NoPathCompletion() { }

    public NoPathCompletion(JTextField field) {
        super(field);
    }

    public NoPathCompletion(JTextField field, ActionListener browseActionListener) {
        super(field, browseActionListener);
    }

    public NoPathCompletion(ActionListener browseActionListener) {
        super(browseActionListener);
    }

    @Override
    protected void installPathCompletion(FileChooserDescriptor fileChooserDescriptor, @Nullable Disposable parent) { }
}
